.message-model-container {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;

  .message-list {
    width: 350px;
    position: relative;

    .message-item {
      position: absolute;
      top: -64px;
      width: 100%;
      box-sizing: border-box;
      height: 48px;
      line-height: 48px;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
      box-shadow: rgba(0, 0, 0, 0.2) 0 0 8px;
      border-radius: 4px;
      padding: 0 16px;
      margin-top: 12px;
      background-color: white;
      animation: message-item-animation 2s;

      &.success {
        border-left: solid 4px var(--success-color);
      }

      &.error {
        border-left: solid 4px var(--error-color);
      }

      &.warning {
        border-left: solid 4px var(--warning-color);
      }

      &.info {
        border-left: solid 4px var(--info-color);
      }

      @keyframes message-item-animation {
        0% {
          top: -64px;
        }

        20% {
          top: 0;
        }

        80% {
          top: 0;
        }

        100% {
          top: -64px;
        }
      }
    }
  }
}